// 引入配置文件
@import "./_variable.scss";

@import "./_mixin.scss";
// html{
// 	font-size: 64px;
// }
// 设计稿为640px 
@function px2vw($px){
	@return $px/6.4*1vw;
}
// 假设640设计稿,html的font-size为64,则
// 64px = 1rem
// 1px = 1/64 rem/px
// 注意:这里的64记得同步到rem.js文件中
@function px2rem($px){
	@return $px * 1/64 * 1rem;
}

@function pxd2($px){
	@return $px / 2 * 1px;
}

a{
	text-decoration: none;
}
.clear{
	clear: both;
}
// 头部导航
em{
	font-style: normal;
}

header{
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	background-color: #b20000;
	padding: pxd2(25) 0px;
	z-index: 99999;
}

header .top{
	width: 100vw;
	height: auto;
	overflow: hidden;
	text-align: center;
	font-size: 0;
}
.top div{
	display: inline-block;
}

header .top .topleft{
	height: pxd2(50);
	width: pxd2(50);
	@include  imgwrapper;
	float: left;
	margin-left: 21px;
}
header .top .topright{
	// font-size: 0;
	height: pxd2(44);
	width: pxd2(44);
	@include  imgwrapper;
	float: right;
	margin-right: 18px;
}
header .top .logo{
	width: pxd2(266);
	height: pxd2(40);
	@include imgwrapper;
}

// <!-- 中间内容文字显示 开始-->
.main{
	margin-top: 50px;
	padding: px2vw(44) px2vw(28) px2vw(30) px2vw(28);
	// background-color: green;
	overflow: hidden;
}

.title{
	position: relative;
	display: -webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	height: px2vw(130);
}

.content .title>p{
	font-size: .46875rem;
	font-weight: bold;
}
.bot>.botson>span{
	font-size: .34375rem;
	color: #8b8b8b;
}

.bot>.botson{
	position: absolute;
	right: 0;
	bottom: 12px;
	// line-height: 0;
}

.bot .botson img{
	width: px2vw(24);
	height: px2vw(19);
	// vertical-align: middle;
	margin-right: 4px;
}

.bot .shuzi{
	text-align: center;
	// background-color: red;
	color: #b20000;
}

.bot p{
	font-size: .34375rem;
	color: #8b8b8b;
}
.bot span{
	display: inline-block;
}
.title .bot{
	position: absolute;
	right: 0;
	bottom: 0;
}
// 文本的字体

.article{
	padding-top: px2vw(44);
}
.article p{
	font-size: .3125rem;
	line-height: px2vw(29);
	color: #8b8b8b;
}

// 第二部分文本
.article .summary p{
	font-weight: bold;
	color:#000;
}

.haitianjiangyou{
	margin-top: px2vw(14);
	width: px2vw(582);
	height: px2vw(271);
	@include imgwrapper;
}

.wangmin{
	margin-top: px2vw(14);
	width: px2vw(582);
	height: px2vw(167);
	@include imgwrapper;
}

// <!-- 第五部分文本 全网覆盖 -->
.article .celue{
	font-size: 0;
}

.article .celue p{
	font-weight: bold;
	color:#000;
}
.article .celue span{
	// margin-top: 10px;
	font-size: .3125rem;
	line-height: px2vw(29);
	color: #8b8b8b;
}

.celueimg{
	margin-top: px2vw(14);
	width: px2vw(582);
	height: px2vw(274);
	@include imgwrapper;
}

// <!-- 第六部分文本 活动介绍 -->

.active{
	font-size: 0;
}
.summary span{
	display: inline-block;
	margin-top: px2vw(14);
	margin-bottom: px2vw(14);
	font-size: .3125rem;
	color: #8b8b8b;
}
.huodongimg{
	margin-top: px2vw(14);
	margin-bottom: px2vw(14);
	width: px2vw(582);
	height: px2vw(170);
	@include imgwrapper;
}

.huodongimg2{
	margin-top: px2vw(14);
	margin-bottom: px2vw(14);
	width: px2vw(582);
	height: px2vw(241);
	@include imgwrapper;
}

// <!-- 第七部分文本 活动红包 -->
.choujiang p{
	font-size: .3125rem;
	line-height: px2vw(29);
	color: #8b8b8b;
	margin-top: px2vw(26);
	margin-bottom: px2vw(10);
}

.choujiangimg{
	margin-top: px2vw(18);
	margin-bottom: px2vw(14);
	width: px2vw(582);
	height: px2vw(299);
	@include imgwrapper;
}

.choujiangimg3{
	margin-top: px2vw(18);
	// margin-bottom: px2vw(6);
	width: px2vw(530);
	height: px2vw(278);
	@include imgwrapper;
}

// 分割线
.dahengxian{
	// margin-top: px2vw(40);
	width: 100vw;
	height: px2vw(19);
	// background-color: red;
	@include imgwrapper;
}

// <!-- 上一篇内容 -->
.passges{
	font-size: 0;
}
.passges span{
	font-size: .33rem;
	line-height: 1;
	display: inline-block;
	padding: px2vw(30) 0 px2vw(30) px2vw(20);
}
.passges em{
	font-size: .2828rem;
}

// <!-- 点赞 收藏 分享 -->
.share{
	height: px2vw(188);
	width: px2vw(583);
	// background-color: red;
	margin-left: px2vw(28);
	text-align: center;
	// line-height: px2vw(188);
}

.share .shareborder{
	height: px2vw(100);
	width: px2vw(72);
	// background-color: gold;
	display: inline-block;
	font-size: .3125rem;
	margin-top: px2vw(48);
	position: relative;
}
.share .shareborder img{
	display: block;
	height: px2vw(72);
	width: px2vw(72);
}

.share .shareborder span{
	display: inline-block;
	margin-top: 2px;
}

.share .shareborder div{
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: px2vw(-14);
	margin-top: px2vw(-25);
	color: #c5c5c5;
	font-size: .3125rem;
}

// <!-- 小的分割线 -->
.hengxian{
	width: 100vw;
	font-size: 0;
	@include imgwrapper;
}

// 登录评论
.denglu{
	font-size: 0;
	padding: px2vw(79) px2vw(246);
	// background-color: green;
	text-align: center;
}
.denglu span{
	font-size: .3225rem;
	color: red;
	border-bottom: 1px solid red;
}
.denglu em{
	font-size: .3125rem;
}

// <!-- 发表评论 -->
.pinglun{
	margin-top: px2vw(18);
	font-size: .40625rem;
	text-align: center;
}
.pinglun span{
	background-color: #b20000;
	padding: px2vw(13) px2vw(143);
}

// <!-- 评论的对话框 -->
.discuss{
	color: #444444;
	margin-top: px2vw(50);
}
.d_top, .touxiang{
	margin-left: px2vw(34);
}
.d_top>p, .d_top>span{
	display: inline-block;
	margin-top: px2vw(25);
	font-size: .28125rem;
}
.d_top span{
	border-bottom: 2px solid;
}

.touxiang{
	height: px2vw(50);
	width: px2vw(231);
	// background-color: red;
	font-size: 0;
}
.touxiang img{
	display: inline-block;
	height: px2vw(50);
	width: px2vw(50);
	vertical-align: middle;
}
.touxiang>span{
	font-size: .28125rem;
	vertical-align: middle;
}
.touxiang em{
	// margin-left: px2vw(2);
	font-size: .28125rem;
	vertical-align: middle;
}

.bott{
	margin-top: px2vw(13);
	overflow: hidden;
}
.bott .fl{
	float: left;
	font-size: .34375rem;
	display: inline-block;
	margin-left: px2vw(47);
}
.bott .fr{
	float: right;
	font-size: .28125rem;
	display: inline-block;
	margin-right: px2vw(47);
}

.reply{
	overflow: hidden;
	font-size: 0;
	margin-top: px2vw(10);
}
.reply span{
	display: inline-block;
	margin-right: px2vw(47);
	float: right;
	font-size: .28125rem;
}
// 
// <!-- 显示的评论区 -->
.rebody{
	// height: 65.75vw;
	width: px2vw(535);
	// background-color: goldenrod;
	background-image: url(../images/talk_bg_03.png);
	margin-left: px2vw(52);
	margin-top: px2vw(4);
	overflow: hidden;
}

// <!-- 显示的评论区 -->
.people{
	font-size: 0;
	margin-left: px2vw(20);
	margin-top: px2vw(20);
	overflow: hidden;
}
.people img{
	height: px2vw(39);
	width: px2vw(39);
	vertical-align: middle;
}
.people span{
	font-size: .28125rem;
	vertical-align: middle;
	margin-left: px2vw(15);
}
.people .talkright{
	display: inline-block;
	float: right;
	margin-top: px2vw(35);
}
// 分割的点线
.dash{
	font-size: 0;
	margin-top: px2vw(14);
	width: 100%;
	height: 0.0625rem;
	@include imgwrapper;
}
// 文本框
.wenbenkuang textarea{
	width: px2vw(494);
	height: px2vw(72);
	margin-left: px2vw(18);
	margin-top: px2vw(10);
	font-size: .28125rem;
	padding-left: px2vw(10);
	padding-top: px2vw(5);
	outline: none;
	&::-webkit-textarea-placeholder{color: red;}		
}

.wenbenkuang span{
	text-align: center;
	color: white;
	line-height: px2vw(45);
	font-size: .3314rem;
	display: inline-block;
	height: px2vw(45);
	width: px2vw(174);
	background-color: red;
	float: right;
	margin-right: px2vw(12);
}

// 脚部部分设置
footer{
	width: 100vw;
	height: auto;
	// margin-top: 1rem;
	padding-bottom: constant(safe-area-inset-bottom); /* 兼容 iOS < 11.2 */
	padding-bottom: env(safe-area-inset-bottom); /* 兼容 iOS >= 11.2 */
}
footer p{
	font-size: 0.34375rem;
	margin-top: px2vw(20);
	margin-bottom: px2vw(32);
}

.foot_bg{
	margin-top: px2vw(10);
	width: 100vw;
	text-align: center;
	height: px2vw(100);
	// background-color: red;
	background: url(../images/footer.png) 0 center no-repeat;
	background-size: cover ;
}

.foot_bg .liebiao{
	width: 100vw;
	height: px2vw(100);
}
.foot_bg .liebiao img{
	// display: block;
	// width: 20vw;
	float: left;
	height: 100%;
	display: inline-block;
	padding-left: 4.55vw;
	padding-right: px2vw(20);
	padding-top: px2vw(10);
}